package com.project.forum.services;

import com.project.forum.model.ArticleReply;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:DELL
 * Time:23:37
 */
public interface IArticleReplyService {
    //新增帖子回复
    @Transactional
    void create(ArticleReply articleReply);


    //根据帖子id查询所有的回复
    List<ArticleReply> selectByArticleId(Long articleId);
}
